package com.ironmaking;
//import com.ironmaking.Utils.SpringContextHolder;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.web.bind.annotation.*;


@SpringBootApplication(scanBasePackages = "com.ironmaking")
@EnableJpaRepositories(basePackages = "com.ironmaking")
public class startApp {

//    SpringContextHolder springContextHolder = new SpringContextHolder();

    public static void main(String[] args){
        SpringApplication.run(startApp.class,args);
    }

    @RequestMapping(path = "/", method = {RequestMethod.GET})
    @ResponseBody
    public String quick(){ return "springboot 访问成功!";}

}
